Skip to content

Add Storage: read-only space and installed-app breakdown - #39

Draft
arnav-kr wants to merge 1 commit into
mainfrom
feat/storage-app
Draft

arnav-kr wants to merge 1 commit into
mainfrom
feat/storage-app

Conversation

@arnav-kr

Copy link
Copy Markdown
Member

Add Storage: read-only space and installed-app breakdown

Storage shows writable free space, installed apps, App Loader, watch faces and other files in the watch's native UI. A segmented overview opens category details; firmware and resource reservations are presented separately from writable capacity.

It uses the SDK storage service rather than private firmware calls. Scans are bounded, incomplete results are labelled, and logical file lengths are distinguished from allocation. An older loader shows an update message. Storage cannot delete files or change firmware and does not need a phone connection.

Includes the canonical SVG icon, store listing, emulator screenshots, host tests of the actual UI batches and a Storage-only size optimization. No firmware or generated app package is included. Material Symbols attribution is included.

Dependencies — keep draft

  • Depends on fmctools/cmf-watch-sdk#22 for the typed storage-inspection API and installed-app icons.
  • Requires a separate apps SDK-pin update after that SDK PR merges. This PR leaves the current Makefile pin unchanged; clean-checkout builds/CI cannot build Storage against that older pin yet. Local validation used the SDK PR branch.
  • Requires an updated App Loader providing storage-inspection service v1 to be released and installed on the watch. Older loaders show an update message. This does not require another firmware update for an already compatible patched WP2.

Keep this PR draft until those dependencies are available. No loader or firmware release is included here.

Validation

Validation: Windows workspace tests and canonical store build/check; QEMU navigation, counters matching installed package lengths, native icons and stock card colors. Maximum synthetic UI: 189 of 192 objects. All 171 workspace tests passed, including 16 Storage tests; all 14 packages built. Storage is 81,356 bytes. The SDK/pin dependency must land before a public clean-checkout build can use these additions. No Watch 3 Pro or new physical-device validation is claimed.

Screenshots

Captured at full brightness in Windows QEMU after the file scan completed. The virtual watch contains Storage, Sky Hop, 2048 and Calendar, plus two downloaded WFC files. The figures are measured from that virtual filesystem; built-in watch-face resources are listed separately from writable files.

Overview Usage breakdown
Overview Usage breakdown
Installed apps More installed apps
Installed apps More installed apps
Watch-face files System storage
Watch-face files System storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant